package com.dgut.epidemic.mapper;

import com.dgut.epidemic.pojo.Daily_data;
import com.dgut.epidemic.pojo.abnormalData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface AdminDataMapper {
    List<Daily_data> sortData(@Param("sort")String sort,@Param("starTime")String starTime,@Param("endTime")String endTime,@Param("body")String body,@Param("istreatment")String istreatment
            ,@Param("isolated")String isolated,@Param("inschool")String inschool,@Param("inguan")String inguan,@Param("keyword")String keyword);
    List<Daily_data> selectData();
    List<Daily_data> selectTemperature(@Param("starTime")String starTime,@Param("endTime")String endTime);
    List<abnormalData> selectAbnormal();
}
